const configArr = [{
		color: "brown",
		label: "全部退料单",
		value: "type1",
		count: 300
	},
	{
		color: "green",
		label: "待退料",
		value: "type2",
		count: 300
	}
]
const filterOption = {
	items: [{
			label: "关键字",
			type: "input",
			data: undefined,
			placeholder: "采购单号/领料单号/条码/商品号",
			value: undefined,
			key: "keyWord"
		},
		{
			label: "单据状态",
			type: "dropdown",
			data: [{
					label: "待收料",
					value: "30"
				},
				{
					label: "已收料",
					value: "40"
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "status"
		},
		{
			label: "收料日期",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "receiptTime"
		},
		{
			label: "接单日期",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "orderTime"
		},
	],
	btnGroup: [{
			label: "查询",
			type: "search"
		},
		{
			label: "清除",
			type: "clear"
		}
	],
	close: true
};
//
const tableData = []
//分页数据
const paginationObject = {
	currentPage: 1,
	pageSize: 1,
	pageTotal: 1,
	total: 1,
	num1: 1,
	num2: 1
}
const tableHeaderData = [{
		prop: 'returnStatus',
		label: '退料单状态',
		width: '100'
	},
	{
		prop: 'supplierCode',
		label: '供应商编码',
		width: '160'
	},
	{
		prop: 'mainQuantity',
		label: '退料数量',
		width: '100'
	},
	{
		prop: 'fgfgfg',
		label: '操作人',
		width: ''
	},
	{
		prop: 'createTime',
		label: '退料时间',
		width: '180'
	},
	{
		prop: 'remark',
		label: '备注信息',
		width: ''
	},
]

let Model = {
	data() {
		return {
			Model: {
				configArr,
				filterOption,
				tableHeaderData,
				tableData,
				paginationObject,
				dialogFormVisible: false,
				TableSelectData: [],
				page:{
					pageIndex:1,
					pageSize:10
				}
				
			}
		}
	}
}
export default Model;
